import { ColumnGroupType, ColumnType } from "antd/es/table"

const sensitiveManagerList = (newFormat: (arg: string) => string): Record<string, ColumnGroupType<any> | ColumnType<any>> => ({
	sensitiveManage_createdBy: {
		key: "sensitiveManage_createdBy",
		align: "center",
		dataIndex: "createdBy",
		title: newFormat("dxn.game_manager.last_updated"),
		width: 100
	},
	sensitiveManage_createdAt: {
		key: "sensitiveManage_createdAt",
		align: "center",
		dataIndex: "createdAt",
		title: newFormat("dxn.game_manager.last_updated_time"),
		width: 100,
		render: (sort: number) => <span>{sort}</span>
	}
})
export default sensitiveManagerList
